/*
 * interrupt.h
 *
 *  Created on: Sep 13, 2013
 *      Author: Ken Arok
 */

#ifndef INTERRUPT_H_
#define INTERRUPT_H_

#if XMEGA || MEGA || TINY
#include "interrupt/interrupt_avr8.h"
#else
#error Unsupported device.
#endif

/**
 * \defgroup interrupt_group Global interrupt management
 *
 * This is a driver for global enabling and disabling of interrupts.
 *
 * @{
 */

#if defined(__DOXYGEN__)
/**
 * \def CONFIG_INTERRUPT_FORCE_INTC
 * \brief Force usage of the ASF INTC driver
 *
 * Predefine this symbol when preprocessing to force the use of the ASF INTC driver.
 * This is useful to ensure compatibilty accross compilers and shall be used only when required
 * by the application needs.
 */
#define CONFIG_INTERRUPT_FORCE_INTC
#endif


#endif /* INTERRUPT_H_ */
